<template>
	<view>
		<view class="empty-state-block" :class="radius?'pin-radius':''">
		</view>
		<view class="empty-state-icon">
			<image src="../static/img/zhanwei.png" style="width: 80%; height: 400upx;"></image>
			<!-- <view class="empty-state-icon-image">
				<i class="pin-icon empty-state-icon-inside pin-animation-shake" style="animation-delay: 0.6s;">{{icon == null?'signal_cellular_no_sim':icon}}</i>
			</view> -->
		</view>
		<view class="empty-state-title">
			暂无相关内容
		</view>
		<!-- <view class="empty-state-description">
			暂无相关内容
		</view> -->
	</view>
</template>

<script>
	export default {
		props: ['title', 'description', 'icon', 'radius'],
		data() {
			return {
			};
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #ffffff;
	}
	.empty-state-block {
		width: 100%;
		height: 25vh;
		background-color: #ffffff;
		display: flex;
		justify-content: center;
	}

	.empty-state-icon {
		width: 100%;
		background-color: $pin-color-light;
		background-color: #fff;
		display: flex;
		justify-content: center;
		align-items: center;
		
	}
	
	.empty-state-icon-image {
		width: 50vw;
		height: 50vw;
		border-radius: 50%;
	
		text-align: center;
		line-height: 50vw;
	}
	
	.empty-state-icon-inside {
		font-size: 36vw;
		vertical-align: middle;
		color: $pin-color-foreground;
	}

	.empty-state-title {
		width: 100%;
		margin-top: 50upx;
		display: flex;
		justify-content: center;
		font-size: 48upx;
		color: $pin-color-light-foreground;
	}
	.empty-state-description {
		width: 100%;
		margin-top: 10upx;
		display: flex;
		justify-content: center;
		font-size: 28upx;
		color: $pin-color-light-foreground;
		padding-bottom: 50upx;
	}
</style>
